package com.xy.frame.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;
@Repository
public interface MenuMapper {

	List<Map<String, Object>> loadMenuTree();

	List<Map<String, Object>> queryMenuTree(Map<String, Object> params);

    Integer queryMenuListCount(Map<String, Object> params);

    List<Map<String,Object>> queryMenuList(Map<String, Object> params);

    List<Map<String,Object>>  queryUserMenuTree(Map<String, Object> params);

	void deleteMenu(String menuNum);
	
	void addMenu(Map<String,Object> menuMap);

	void updateMenu(Map<String, Object> menuMap);
    
}
